<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self'; style-src 'self' 'unsafe-inline'; connect-src 'self' http://localhost:5000;">
    <title>Lemonade App</title>
    <link rel="stylesheet" href="styles.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>Lemonade</h1>
            <p class="subtitle">Powered by Electron & Python</p>
        </header>
        
        <main>
            <div class="card">
                <h2>Welcome</h2>
                <p>This is your Lemonade with an Electron frontend and Python backend.</p>
                
                <div class="status-section">
                    <h3>Backend Status</h3>
                    <div id="status" class="status-indicator">
                        <span class="status-dot"></span>
                        <span id="status-text">Checking connection...</span>
                    </div>
                </div>
                
                <div class="action-section">
                    <button id="test-btn" class="btn btn-primary">Test Backend Connection</button>
                    <div id="response" class="response-box"></div>
                </div>
            </div>
            
            <div class="card">
                <h2>Getting Started</h2>
                <ul>
                    <li>The Python backend is running on port 5000</li>
                    <li>Click the button above to test the connection</li>
                    <li>Start building your lemonade features here</li>
                </ul>
            </div>
        </main>
        
        <footer>
            <p>Lemonade App v1.0.0</p>
        </footer>
    </div>
    
    <script src="renderer.js"></script>
</body>
</html>

